#include <stdio.h>
#include <dirent.h>
#include <windows.h>
typedef int (*buitin_fp)(int ,char **);
struct builtin{
	char *name;
	buitin_fp action;
};
int shell(int argc,char **argv){
	printf("%s\n",argv[0]);
}
struct builtin list_cmd[]={
	{	"exit",shell},
	{	NULL,0}	
};
int main(int argc,char **argv){
	list_cmd[0].action(argc,argv);
	int a=0;
	char dir[100];
	GetWindowsDirectoryA(dir,100);
	printf(dir);
}